package com.pets.service;

import com.pets.entity.Knowledge;
import com.pets.qo.KnowledgeAddQO;
import com.pets.qo.UserRegisterQO;
import com.pets.util.PageData;
import com.pets.util.Result;
import com.pets.vo.KnowledgesByPageVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface KnowledgeService {
    //分页查询
    PageData<KnowledgesByPageVO> selectKnowledgesByPage(int page, int pageSize);
    //百科知识的添加
    Result KnowledgeAddQO(KnowledgeAddQO knowledgeAddQO);
    //单条百科知识的显示
    KnowledgesByPageVO show(int kid);
}
